package edu.sctu.practice.class02.shilaihong.assign03.text2;

/**
 * Created by admin on 2015/10/29.
 */
public class Run {
    public static void main(String[] args) {
        ComparableCircle comparableCircle = new ComparableCircle(4.4);
        ComparableCircle nextComparableCircle = new ComparableCircle(2.4);

        ComparableCylinder comparableCylinder = new ComparableCylinder(2.3,3.4);
        ComparableCylinder nextComparableCylinder = new ComparableCylinder(3.4,5.6);

         Max.max(comparableCircle,nextComparableCircle);
        Max.max(comparableCylinder,nextComparableCircle);


    }
}
